Basic smart-proxy crud tests

I think the context manager should take care of it. But I have added more logging.