adding tests for rendering plugin views and layouts, fixes #34
fixing typo