Changed regexp for matching prepositions at first character after tag
Changed test for factory - forced namespace