Revamped test plugin for new APIs.