Added spec test

Spec tests added