Converted unit tests from FunSuite to WordSpec