For information about writing and running tests, see Using Your Local Install to Modify Habitica's Website and API.