added jasmine DOM parse test