adaption to sec->msec parsing

+ small simplification to callback jungle regarding deletion of
  database on error
using global test-config
not using test db for integration tests