add degree tests