[LFTILI-39] first pass at api unit testing - grunt test