Add a 'make test' target.
merge all gtest tests for now
Tweak and generalize atomic_int.
atomic_int tests
One more test code refactor.