added test coverage for bin methods