added code column, and a test to check its existance