Added test cases and app.