hcore::bit: Added tests for bit twiddling functions.