changed binpacking test case to match new API