Added unit test target to fix a crash in Travis