PEP8 fix
Fix test by registering package views
Merge pull request #1 from teixas/fix-tests

Fix tests