Towards making tests more predictable