fixed minor errors in tests