[test] Refactored test - added test for properly prefixing with Spark