tests + working app