added test generation