adding spec tests and readme