Fixed a test that failed in python3

Now the test works under bs4