Added Test, Fixed Compilation Errors, Implemented rendering logics