Finished bitwise components, doctests only
Finished unit tests for bitwise components
Merge with bitwise components.