Adding tests for active_url