Added tests for POSIX errors
updated ignore list
fixed a typo
Implemented the write method

Additionally, this commit adds some stuff I forgot to include :(