Added removeAttrsPlugin and extended test to have optional params passed along