fixed failures with controllertests