added cleanupUrl return test