class module attributes
move tests to unittests