Updated transactions controller test