added test using getView