Refactored a bit a test for spin.isPanel()

The test had a small dependency that could easily be removed. Done.
Reordered tests execution in tests runner

onload.js must be the first thing to run.