fixed dependency configuration, added some tests