fixed test scala compilation