Fixed test cases to be more platform independent and not to relay on sequence numbers generated by instrumentation (we do not guarantee same numbers on different run). Also dependence of order how variables are collected to private memory structure were fixed.