Javascript test framework to automate testing the dependencies of behaviors while executing unit tests