Add unittests for check_ip_status view