Created test case for binary number generator