added mkdir_p(), mount mock_dir