Add reader tests
Fix interface definition bugs
Update sched_t tests
Update writer tests
Make tests more readable