Add regression test for profile names that caused the app to crash