Added nose tests and travis configuration