853 update spec helper to prepare db automatically

resolves part of #853, still need to work on migration error