Added missing StatFsCompat methods. Added more unit tests.