Improve dependencies tests by grouping with beforeStart()
Fix for dependency cycle / throw error.