added static variables to declarations + added tests for it