Adding maximize tests