added a dockerfile command for running tests
added a test for self-dependencies