Added basic unit tests for factor weight model.