Take a look some comments in BlockTest, Tray, TrayTest