Added automatic test generation