fixes some tests
fixes specs