improved file load-based test