test for dependencies