initial unit test for regex. cookie path solved