added test setup/teardown permutation tests