added some spec tests and updated README