added tests for nested helpers