Simplified Test Code