Refactored unit test to use Nocilla