fix failing tests - some tests were expecting an int value

some tests were expecting an int value and string was return