Add several unit tests, class Weight, etc.