Fixes #13. Added tolerance on CustomType equals method since database
timestamp value may slightly differ from the Java value.