pre code test