refactor & implement test for 'create table' and 'drop table' from cli arguments

Signed-off-by: Joshua Paling <joshua.paling@gmail.com>