test for return