Use correct decorator for index, not just show, make tests load factories

this fixes the travis issue