Basic smart-proxy crud tests

This could be refactored a bit further but that's ok for now.