Clean the unnecessary codes and logging macros to keep the test output cleaner. Add fail tests for the `get_state*` functions.
Restructured the project tree to align with Espressif's project tree pattern and practice. Also updated the affected cmake files. Fixes: #1033