Added basic tests for iml serialization.