Tests for bricks.py