Added more tests.

Added an 'increment-the-shared-variable' test to the test files.