fix occasionally failing specs
add features to rake (and for Travis)