Removed dangerous tests from lib tests. Added CLI test with three-step pipeline.