There is an error just after the test succes because the app tries to close the db twice... but at least it works. i'll try to work around that later :p