fixes travis for testing
adds spec dir and spec rake task