added some spec tests