Add npm tests to flow control tests