test_shell: fix includes

malloc.h is not needed, apply coding conventions to others
Merge pull request #823 from LudwigOrtmann/test_shell

test_shell: fix includes