Adds button testcode