Fix File.separator issues in tests

This should fix all Resource not loading issues in Windows.