Merge pull request #40 from fraga/refactorTests

Refactor tests
Merge pull request #41 from fraga/bin2hexperf

Bin2hexperf