[Helper] Added helper for dependencies (currently untested).
[Tests/Helper] Implemented testing programmatically. Fixed bugs in test-helper.