add tests in graphics_spec for equality