Small improvements to _oasis file

Avoid to build test when not enabled, this cut the dependencies to qtest/ounit when final user doesn't want to run test.

Although add vector3 as a build depends to test, but maybe it doesn't work, feel free to remove it in this case.