Reorder function calls in tearDownClass to fix Windows permission error.
Move clean-up into tearDown--eliminates redundant _remove_tempfiles() call.