Added tests. Remove ':' from regex for 'prefix'