correct a typo in topaz-app and add a first batch of tests