removed dummy test
updated code for spark 1.0 (java 1.7 syntax)