added hackish test code for espb