Fixed compilation error + broken test