added a bin sort functional test