refactor Test code. use org.testing instead of org.junit.
fixed bug. fixed test code.
fixed bugs
_rev (field of OpenIDM entry) must be String.
NPE occurs, when parsing given id in 'query' method.