Added tests, started sample app