automated tests for titleFormat