Fixed tests so that views can be tested.