Adds patch test