Model testing

Need to be merged to Master. Just lost twenty minutes of code regression because the share tests weren't there. This was my mistake.