Add more tests and fix functionality

*Concurrency, priority, and delay