Corrected tests to pass on travis

Tests had missing deps which caused problems with travis.