added command line test for serial encapsulation.
renamed "crypt test" to "test crypt" for consistency.