Implementing tests and fixing issues found, see #1

- implementing test for DefaultTypeMapperImpl
- fixing tests
- fixing issue in valueOf which would not return the correct value for Double