fixed broken tests, added options api endpoint, temp readings can now be deleted from the DB