Build/Test Tools: Add initial tests for the WP_Filesystem_Direct class.
WP_Filesystem_Direct
Since WP_Filesystem_Direct is by far the most used filesystem abstraction class, this facilitates future changes with sufficient test coverage.
Props swissspidy, costdev, mukesh27. Fixes #57774.