Remove console log from tests, fix tests