Rbm

Hope this ends up a new PR (relatively new to GH). 
I would make the name be TestBinaryVector, since this appears to be tests for the BinaryVector class, not all binary functionality.