Simplified Device index page so test would pass.
Working on tests