Changed tests to actually pull view info from DB