Test shape class