Added tests for share model.