Add test and console scripts