Add tests for slice and struct datatypes.
Merged
Merge pull request #7 from echlebek/master

Moar tests