fixed little errors in spec tests