tested custom handling function
test cases for formatter