Unit tests on annotations processor and some small enhancements