tried to test serialize method, but not working yet.
Merge branch 'refactor'
test works with DbConnect's serialization.