added integration specs

fixed some problems
introduced default record values on create