fix a bug
added a mozmill test against #351, which currently fails