added possibility to use the -alpha option & tests