Adding tests for virtuals