added rmdir test
clean up rmdir test
added mkdir test
register sync methods more elegantly
added readdir test