fixed failed test
adding guard gem for automatic test runs
streamlined active_class_if helper