wrote TrayTest.java (not done)