added errno and added some more tests for creat