add proper integration tests
delete old hacky tests