Adding a view and an adaptor for testing