Run unit tests before building