Add tests for x86
Add a toString method (debug)