grunt dev uses this, so adding it back
Better test for input validation