Cleaned up test discovery and environment sanitization functions.  Added assert_almost_equal()