Fixed android test detection and some spaces in CMakeLists.txt