write test for alpha.base