Fixed crash bug in the shaderlang test

Signed-off-by: Vinzenz Feenstra <evilissimo@gmail.com>
Merge pull request #77 from vinzenz/shaderlang-test-crash-fix

Fixed crash bug in the shaderlang test