modified button configuration syntax per feedback from author; added tests