updated tests to be compatible with new versions