rectangle tests working