BitManipulation tests