Altered OSCALL_ARGV's r2 argument to be length of buffer in bytes.

Improved test coverage.
Corrected code layout issues.