added test for tray