Fixing unit test and adding eclipse plugin