only add a new row if it isn't a unique share, otherwise update the existing row
clean up share table after each test