add before and after to test