Add test for backend.