Added test to ensure that all exported Model types have a toJSON method on them.