test - preparing controller for testing