Add rectangle init test