Moved checking test results to rwsplit.sh so that tests can use easily different criterias to evaluate test success.
Changed test makefile and rwsplit.sh script and added two example sql scripts.