Run unittests on travis

implements and closes #1242