make tests pass by checking for non-empty query params and isActive