fix configurer, add tests, close #62