Changed splittesttrain to support dev sets