return true value to be requirable
convert dategrep to module
do not die, but call error function and return
make $app package variable to change it for tests
use Test::Output instead of Test::Command::Simple