changes to sanity_check and bead_counter_tests

Just trying to get things synced on the Mac