Added test for bin class