Added some type testing

Added info about typmapping