more stable unit tests