added testInnerFunctions