add test of online script