Moved attribute inside test class