There is no restriction regarding Iran missile tests , it just calls upon Iran not to test missile that their warheads are designed to carry nuclear warheads and just for 8 years ....we don't have nuclear weapon to design or have a warhead capable to carry one.
Iran is called upon not to undertake any activity related to ballistic missiles designed to be capable of delivering nuclear weapons, including launches using such ballistic missile technology, until the date eight years after the JCPOA Adoption Day or until the date on which the IAEA submits a report confirming the Broader Conclusion, whichever is earlier.
While in 1929 resolution :
Iran is prohibited from undertaking any activity related to ballistic missiles capable of carrying nuclear weapons and States are required to take all necessary measure to prevent the transfer of related technology or technical assistance.