added exception tests again and now throwing exceptions from the client