adding tests for views
fix relative import issue on python 34