Update tests to work with remote files