add tests for polish format rules