Fixed discrepancy between the subscores and the total score and added some tests.
ORA-199