added spec directory and initial tests