got conditional get tests to pass