[TA39] Fix compile error and refactoring embeddable ejb container test