Add parameters to listObjects in connector, fix breaking tests

Since all the added parameters are optional, this shouldn't
cause anything to break.