fixed dependency
added test