working play app and tests