Simplified scores() function, extended tests and documentation