adding beacon pattern test