Fix deprecated express function, update tests
v0.3.1