Added test for nested methods verification