Adding setup test for plugin field and fixing its failing test.