1.Adopted old query calls 2.Change 'before:each' to 'before:all'