Test codes for BBA