unittest: added not allwoed test case in router test
server: added create_app abstract method