Adding tests and fixed flag active menus 'no doc' bug.
Updated to 404 if file not found.