added tests to handle multiple formats handling