added junit test to common