seperated unittests to ABtest.py