modified test simulation slightly