Tests on example. TODO add test to plugin