Add tests for the different definition types