Fix method convertEmptyStringIntoNullInAttrValue

- add testing of null value
- also remove System.out printing in attributes tests which failing due to this problem