make sure to clear the database before tests since they were affecting each other