now uses the plugin system with inject deps
test for behaviour