enable opts, update tests, separate command line flags
Tests for method-level optimizations