Added spec test