Added coverage to rake file, and fixed lookupdev method for travis