Space searching (BFS+Beam) including basic tests