Adds sample method and test