updated tests based on new library syntax