tests now passing for backend