Added testing to finegrained.groovy