fixed annotation processing for embedded annotations and added additional test cases for this setting