Added basic test for calculating beacon frequency