Fixed tests compilation