some thorough integration tests that would make mom proud