Tests refactored to reflect loader returns an array