adding specs and remove dependency on underscore