wrote TrayTest.java