*fixed: test logic