Wrote test file for backend. Like 90% sure this is correct