Added further tests, using AST as ratio factor. Added one more test which sets all variables as static.