Fix compilation error when not using atomic api

Signed-off-by: Sean Paul <seanpaul@chromium.org>
Rename planetest to atomictest, and add 2 new simple tests for basic functionality

Signed-off-by: Sean Paul <seanpaul@chromium.org>