finished simple test generation