updated gems and fixed test