Update ResultTest.scala

Added factory tests, including exceptions thrown while building stuff