Added TestBin

Added TestBin class, using unit test, however, fails on frozenset.