invalid return at test