(#7) Add spec tests for cluster defined types.