* fix secrets stored in JSON format
* add more tests
* fix lint and pass token to build
* add test cases
* add debug
* fix ordering of build steps
* fix test string format
* update test check
* fix test string format
* final cleanup
* remove comment
* remove unused var assignment
* simplify more
* simplify code and add more comments