Implode function + Test - Various best practices implemented