dont try to check layer if host is not pingable
added specs
removed test directory