Adding test script and removing some dependencies.