fix tests to check things against db
fix redirect urls
fix showing labels
fix failing test