writing a valid cube for tests