add tests for FeatureContextFactory and reorganize dependencies