beforeClass & afterClass, fixes #187