[AtomicPrimops] minor: update Makefile to run tests properly
Neaten and add tests