Use built in error instead of hardcording in title unique unit test