fixed tests and locked down dependency version numbers