Use binary for regex prefix
Use standard eunit test structure
Improve test output