Added some test code for outcome models