added junit test for viite