Added beacon unitary tests.