I made integration test for controller registration more conclusive. It also improves coverage.