Extract code to a separate file
more ideas
Tests
Set up plugin path correctly
More spec