Fixed so tests pass. f-prime needs to be passed as a keyword argument.