start of controller testing