Changed a test to THROW

Trying out an idea which should fix a failing test with the RPC command setaccount. I am not so sure about these tests, so if this is no good just let me know.