straight test logic implemented