Implemented bounds support for BoardOverlay.

Added tests for BoardOverlay.