test for method that doesn't have an explicit return