Fix tab completion class test setups/teardowns