fix(build): Fixing race condition with unit tests