Added unit test for BoxPiece