modifications to Bin tests