created snippet class and verified tests work