Fixing listener unit test
Adapted behat features to use array repositories