Adds a method setting test