Testing embedding of Scala as a script engine with serialized code fragments