Fixed unit tests. Added score method.