added small testing dsl; added deserialization support