added base controller test