Added spec test for fact