more test cases moved behind __END__