Added test for concurrent access

 * concurrent access = reading/writing to database from multiple
   threads at the same time. this will hopefully fuck up the
   database's underlying hashmap since it is not thread safe
   according to its documentation