added more functionality to test app