remove dependency from document in test cases
first stab at repairing tests