test for a rotating cube