added test command
modified comments
added a simple test