Writing code test