cleaned up functions in testItemData with
a new commonly used function: assertGet().

cleaned up functions;
- test_getBool
- test_getInt
- test_getDouble
- test_getString