update integration tests to new random functions
fix old integration tests