Re-fix for serializers #41 and make the test case actually save data in database. Closes #9.

Add proper test case to address description in #42.