Refactored test data directory retrieval funcions; Tested split detection datasource.