JUnit-testing and bug fixing.
- changed JavaDoc in DataTypeTest
- added ResultValueTest file
- fixed a bug in ResultValue file