added a few integration tests