made the testcases more alike, also added inline to the pop_back call
implemented shared_lock without mutex and replaced it with a spinlock
that was rather silly, exclusive lock should wait until the previous exclusive lock was released