You can book your restricted licence test:
The test will take about an hour all-up.
It will cost $86.60. You have to pay this fee when you book your test (not when you go to sit the test itself).
You can book your test before you apply for your restricted licence. But you have to apply for your licence before you sit your test.