Testing create dependency as command bus to make it reusable