taking alpha values into account, improving tester