added rect test