Separate out phraser from element and add tests