Added junit tests to travis

- Using profiles