updated tests
Update deserializer to work asynchronously.