Fixed the bad read/write/jump tests. Forgot to release all locks a thread holds whenever it exits.