Rename `src` to `lib`
Test for object serialization