Added junit fixes for issue #308
Added junit for Issue#308
Merge branch 'trunk' of github.com:impetus-opensource/Kundera into trunk