Write them. JUnit is your friend.
Write them. REST-assured and Selenium are recommended. A Jenkins environment is available for automated testing: https://build.hmdc.harvard.edu:8443