Fix on tests and added Travis badge.