adding nested test to illustrate the concept