# TODO: Write test for view endpoints