Minor fix for generating custom command for VirtualBox CPU
Added rake test task and modified unit test cases