Added spec testing