platform-test: updates to fix OSGI JRuby tests

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>