test_shell: fix includes

malloc.h is not needed, apply coding conventions to others