Move schema out of plugin
Add test task