Added more accurate tests, with ^$ anchors