Changed test framework.

Now the test is performed in a .m file which can be run by Mathematica directly (while previously Wolfram Workbench is needed to carry out the tests).

The .m file can be used on any platform. The test.sh file is linux only.