fixed junit tests - changed BeforeClass to Before