Added test cases for the exposed API.
Clean up setDate and setUTCDate tests
Merge pull request #505 from Dudemullet/add_API_Method_Tests

Added test cases for the exposed API.
Fix bug in noConflict tests
Derp -- wrong date in setDate test
Fix bug with update() receiving a Date object

Fixes #497