Fix: parameters order for method calls
Work on code generation for x86.
Add tests