Relaxed build dependencies a bit
create a ApiTest.hs to make build pass in travis