unit tests and production grunt fixed