Fixed test
Refactored docs
Updated travis configuration