Adding testvaluerect and also my own constraints test