committing old testing code - seems to be broken since results are really non-stable