add missing test assertion messages; additional checks in the serialization test
use a more forward-compatible test for attributes being already loaded
implement activerecord 4.2 compatibility