Fixed typo for controller test
Fixed issue for profile formate regex