Add tests for SharedList
Fix SharedList