test: updated tests so that the test suit would not crash