Fix isNumber and split up the failing test