Move sample code under test directory