Added methods for extracting results from bundle and setting expected values