test for unit equivalency before running anything too expensive