listings controller and tests