gen::vector and also general test improvements