Add test for both manual and auto string formatting