added controller testing