Added spec tests to cover eFiction URLs; tweaked #minimal so that it returns an encoded string if it is passed one, rather than just the raw URL.