spectrophotometry diagnostic test