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

cleaned up functions:
- test_getValueBool
- test_getValueInt
- test_getValueDouble
- test_getValueString