test: assign injected services to this

This style should make it easier to see there the state comes from.