Fixed tests + made some improvements in docs, travis, etc.