Three cubes test