stubbing #get and #get_views