Fixed several unit tests. It appears that check.h should not be included prior to ptr_vector.hpp