Obviously not allowed.
If your teachers don't compensate or remake the test you can always complain to them.
If that doesn't work, talk to head teacher(s) and if that doesnt work either consult your principal lol
im pretty sure you can't enter selective schools without doing the test itself. Unless you have extremely good third-party test results (eg. UNSW tests)
its very unlikely to be accepted.