hazel cast test