added tests for format-prefix