updated tests to initialize in BeforeClass
ufixed missing BeforeClass