fix some tests
avoid to schedule an alarm if it does fire.
fix layout for older API level (fixes GH issue #8)