Reference raw pointers in Some unit-tests
Reference raw pointers in Some unit-tests

This resolves segfaults that were introduced
by API changes in 2dbcaa6.

sorig/shogun,sorig/shogun,sorig/shogun,sorig/shogun,besser82/shogun,karlnapf/shogun,shogun-toolbox/shogun,karlnapf/shogun,sorig/shogun,besser82/shogun,lambday/shogun,lisitsyn/shogun,karlnapf/shogun,geektoni/shogun,lisitsyn/shogun,lambday/shogun,besser82/shogun,geektoni/shogun,geektoni/shogun,shogun-toolbox/shogun,geektoni/shogun,lambday/shogun,lambday/shogun,geektoni/shogun,shogun-toolbox/shogun,lambday/shogun,sorig/shogun,shogun-toolbox/shogun,lisitsyn/shogun,besser82/shogun,karlnapf/shogun,karlnapf/shogun,karlnapf/shogun,besser82/shogun,lambday/shogun,lisitsyn/shogun,lisitsyn/shogun,geektoni/shogun,shogun-toolbox/shogun,besser82/shogun,lisitsyn/shogun,shogun-toolbox/shogun