fixed an error in 16bit int return formatting, more tests for conversions