fix on bind exceptions in tests