Move test setups into fixtures