Implemented cube tests