fix the failing testEscaping unit test

previously, the get_store function did not raise an exception for
a store that doesn't exist

also change the following assertion to check the error message