Ensure make check fails if database preparation fails