Test exception on read-only db
Requesting an xmodule field in wrong app context raises exception rather than assertion