Updating tests for views