create genBase and simplify creation tests