write a test app