Fixed the test app minor bug