Add tests for pseudotypes to json tests

Over the shoulder from @Tryneus.