refactored testApp to ofApp