put format tests in format_test