Fix undefined variable
Fix invalid variable
Move taxonomy test coverage to its own class
Test preparing a taxonomy

Oh yeah red lines!