removed embedded glassfish dependency from api project, adapted test