removen unnecessary code from create test