moved setups in tests to the end to improve readibility