fixed spec helper so that a db session is always available for specs which makes the rspecs easier to write