Move method calls out of asserts