added read int and char syscalls and tests