Added maptype spec tests
Added maptype spec tests