Simplified test code.