updated tests to reflect recent changes in rewrite_by_lua* and access_by_lua*.