testing invalid return type response