added test logic and sample steps