adding tests for counting trailing/leading zeros