Create commontests.py

initial test for primeness of 2