test: use beforeEach
hook to improve test suite.
#109
+7
−13
Merged