Fixed tests to run on linux
Moved get_by params into the options object
get_by calls through to list