Implement end-to-end tests for the entity, using vitest (with its browser functionality). NOTE: We are not doing unit tests yet as we need to stabilise the API first.