Fixing test. Checking for null in controller.