added a new test to the open systen call.
re-ordered the file test order so that read comes after open.
added a test for read(2)ing from files that were opened in write only mode.