Restructure integration tests

Closes #161, #162, #175