Implement test_parser(). Clean up a few lambdas in TestSmartList.