fixed bug and added junit plugin