Fix warning; Made test external