add tests for knowndatatypes endpoint