Adding test for penalising generated terms