Fixed these two tests due to changing error messages from the server.
Merged pull request #740