fix tests by treating . as part separator

Thank you @joegreen88, closing #26.