changing add pattern from file to be more intuitive
converting spec tests to unittests
adding travis file