removed unused variable
refactoring tests with module attributes