Added usage tests
Check if format is set