readdir test added

readdir tested for general and devices fs, close issue #48