Backfill the library with as much test coverage as possible. Create a new test on mbed platform that starts a lot of threads and triggers events, inserts and removes tasks. Make sure that growing the task array works as expected and that memory bounds are not exceeded.