updated junit
improved/fixed background alarm handling