extend testing for binary and unary operations and add comprehensive testing for method getSampleDataByTag