actors algo test case