removing console log and now with new tests