Fix bug with #load directive

* Fixes #113
* Added new test
Merge pull request #117 from OkayX6/master

Fix bug with #load directive