added tests to reproduce bug #104
bugfix #104
removed comments
modified test to avoid negative dimIndex
Merge branch 'bugfix-load'