Added function for testing working with bits