Fix error messages in pictures controller test