Erroneously amended test - put back to IllegalArgumentException