tweaking the test to check for the access error as well as the assign error