Add some basic tests for the convert functions
Merge pull request #3 from TingPing/tests

Add some basic tests for the convert functions