Updating sched_layer tests.

Increasing the number of tasks to stress test it.
Adding a mutex benchmark (so fast just a copy of the sched).
Adding asserts in various places.

This should help pinpoint problems.