scala 2.11 - fix specs