Simplified testing

@pote - second part of our discussion, added test target to Makefile and fixed shebang.