Added grunt task and tests