added bit-test.cpp to repo