Clean up code
Add interval in bcr close
Improved blacklevel test