working through adding integration tests