Fixed IS_ALL_ONES
Added testing for IS_ALL_ONES
Changed to jUnit testing