added functional tests for catalog controller