vcomp/tests: Add tests for atomic double functions.