Added tests for the virtuals plugin