filesystem: convert tests to py.test format