Update tests.c

Simple testing was done since only the readLine method wasn't apart of the standard c library.